using System;
using System.Drawing;
using System.Windows.Forms;
using TransparentSplashControl;



namespace WindowsApplication1
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
           
            //set the transparency color - e.g the color you wish to be excluded during paint
            TransparentSplash.Instance.TransparencyColor = Color.Black ;
            TransparentSplash.Instance.Width = 256;
            TransparentSplash.Instance.Height = 256;
            TransparentSplash.Instance.TextAreaX = 32;
            TransparentSplash.Instance.TextAreaY = 96;
            TransparentSplash.Instance.TextAreaWidth = 192;
            TransparentSplash.Instance.TextAreaHeight = 64;

            TransparentSplash.Instance.ForeColor = Color.White ;
            TransparentSplash.SetBackgroundImage(WindowsApplication1.Resources.SplashImage);
            TransparentSplash.SetTitleString( "Splash!" );

            // begin displaying the splash screen before running the application form:
            TransparentSplash.BeginDisplay();
            
            // run the application
            Application.Run( new Form1() );

        }
    }
}